<script>
  export default {
    data(){
      return{
        message:'头部组件'
      }
    },
    methods:{
      handleMessage(data){
        console.log(data + ':' +this.message)
      }
    }
  }

</script>

<template>
  <div>MyHead</div>
</template>

<style scoped>

</style>